<body scroll="no">
	<div style="padding: 6px 3px">
		<div class="col-2 col-left mr6" style="width: 140px">
			<h6>
				<img src="/img/icon/sitemap-application-blue.png" width="16" height="16" /> 角色选择
			</h6>
			<ul class="content role-memu" id="site_list">
				<?php
				foreach ($role_list as $val) {
				?>
				<?php if($val['AdminRole']['roleid']==$roleid) {?> 
					<li class="on">
					 	<a href="/Role/columnpriv/<?php echo $val['AdminRole']['roleid'] ?>/" target="role">
							<span><img src="/img/icon/gear_disable.png"
							width="16" height="16" />设置</span><em><?php echo $val['AdminRole']['rolename'] ?></em>
						</a>
					</li>
				<?php }else{ ?>
					<li>
					 	<a href="/Role/columnpriv/<?php echo $val['AdminRole']['roleid'] ?>/" target="role">
							<span><img src="/img/icon/gear_disable.png"
							width="16" height="16" />设置</span><em><?php echo $val['AdminRole']['rolename'] ?></em>
						</a>
					</li>
				<?php }} ?>
			</ul>
		</div>
		<div class="col-2 col-auto">
			<div class="content" style="padding: 1px">
				<iframe name="role" id="role"
					src="/Role/columnpriv/<?php echo $roleid ?>/" frameborder="false"
					scrolling="auto" style="overflow-x: hidden; border: none"
					width="100%" height="483" allowtransparency="true"></iframe>

			</div>
		</div>
	</div>
</body>
<script type="text/javascript">
	$("#site_list li").click(function() {
		$(this).addClass("on").siblings().removeClass('on')
	});
</script>